import http from '@/utils/http'
export const getTopCategoryAPI=(id)=>{
    return http.get('/category',{params:{id}})
}
export const getCategoryFilterAPI=(id)=>{
    return http.get('/category/sub/filter',{params:{id}})
}
export const getSubCategoryAPI = (data) => {
    return http.post('/category/goods/temporary',data);
}